#include "junix.h"

struct A
{
	int index;
	char buf[12];
};

int main(int argc, char **argv)
{
	struct A a={456,"Hello"};
	int fd = Open("Hash_file",O_RDWR);
	Lseek(fd, 456*sizeof(a), SEEK_SET);
	Write(fd, (char*)&a, sizeof(a) );
	Close(fd);

    exit(0);
}

